package com.ylyq.ylxx.service.impl;

import com.ylyq.ylxx.entity.YlyqCreativeTag;
import com.ylyq.ylxx.mapper.YlyqCreativeTagMapper;
import com.ylyq.ylxx.service.IYlyqCreativeTagService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xiaweichao
 * @since 2020-08-10
 */
@Service
public class YlyqCreativeTagServiceImpl extends ServiceImpl<YlyqCreativeTagMapper, YlyqCreativeTag> implements IYlyqCreativeTagService {

    @Autowired
    private YlyqCreativeTagMapper ylyqCreativeTagMapper;

    /**
     * 功能描述：批量插入产品
     * @author 577
     * @param ylyqCreativeTagList 产品数据
     * @return
     * @date 2020/11/5
     **/
    @Override
    public int inserBatch(List<YlyqCreativeTag> ylyqCreativeTagList){
        return ylyqCreativeTagMapper.inserBatch(ylyqCreativeTagList);
    }
}
